package com.yh.csx.event.store.project;

import com.yh.csx.business.api.entity.CommonResponse;
import com.yh.csx.event.store.EventConstants;
import com.yh.csx.event.store.project.dto.resp.TeamResp;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Api(value = "下拉框选择")
@FeignClient(value = EventConstants.BSF_EVENT_RPC)
@RequestMapping("team")
public interface ITeamServiceApi {

    @GetMapping("queryAllTeams")
    CommonResponse<List<TeamResp>> queryAllTeams();
}
